<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/head.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
<title><html:text name="sys.name" /></title>
</head>
<body>
<html:form action="/crm/clients/save.crm" id="saveForm">
<html:token/><html:hidden id="clients.id" name="clients.id"/>
	<table class="input-table" cellspacing="0" cellpadding="0" border="0"
		align="center">
		<tr>
			<td colspan="4" class="x-panel-header"  style="text-align:center;"><html:text
				name="clients.action" /></td>
		</tr>
		<html:if test="myMessage!=null">
		<tr>
			<td colspan="4"  style="text-align:center;"><html:property value="myMessage" escape="false"/></td>
		</tr>
		</html:if>
		<tr>
			<td colspan="4"  style="text-align:center;"><input type="button"
				onclick="javascript:saveFunction();" id="saveButton"
				value=" <html:text name="button.save"/> ">&nbsp;<input type="button"
				onclick="javascript:backFunction();" id="backButton"
				value=" <html:text name="button.back"/> "></td>
		</tr>
		<tr>
			<td colspan="4">
			<table width="100%" border="0" cellspacing="0" cellpadding="0"> 
			<tr>
					<td ><html:text name="clients.name">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.name" name="clients.name"></html:textfield></td>
					<td ><html:text name="clients.lxr">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.lxr" name="clients.lxr"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="clients.lxdh">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.lxdh" name="clients.lxdh"></html:textfield></td>
					<td ><html:text name="clients.mobile">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.mobile" name="clients.mobile"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="clients.address">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.address" name="clients.address"></html:textfield></td>
					<td ><html:text name="clients.pcode">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.pcode" name="clients.pcode"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="clients.mail">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.mail" name="clients.mail"></html:textfield></td>
					<td ><html:text name="clients.msn">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.msn" name="clients.msn"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="clients.qq">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.qq" name="clients.qq"></html:textfield></td>
					<td ><html:text name="clients.zq">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.zq" name="clients.zq"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="clients.xe">  </html:text></td>
					<td class="td-input"><html:textfield dataType="double"   id="clients.xe" name="clients.xe"></html:textfield></td>
					<td ><html:text name="clients.remark">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.remark" name="clients.remark"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="clients.ygs">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.ygs" name="clients.ygs"></html:textfield></td>
					<td ><html:text name="clients.gsxz">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.gsxz" name="clients.gsxz"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="clients.gzTel">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.gzTel" name="clients.gzTel"></html:textfield></td>
					<td ><html:text name="clients.fax">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.fax" name="clients.fax"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="clients.comAddress">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.comAddress" name="clients.comAddress"></html:textfield></td>
					<td ><html:text name="clients.clientType">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.clientType" name="clients.clientType"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="clients.khjl">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.khjl" name="clients.khjl"></html:textfield></td>
					<td ><html:text name="clients.chinaPy">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.chinaPy" name="clients.chinaPy"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="clients.kpName">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.kpName" name="clients.kpName"></html:textfield></td>
					<td ><html:text name="clients.kpAddress">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.kpAddress" name="clients.kpAddress"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="clients.kpTel">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.kpTel" name="clients.kpTel"></html:textfield></td>
					<td ><html:text name="clients.kpKhhzh">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.kpKhhzh" name="clients.kpKhhzh"></html:textfield></td>
</tr>
<tr>
					<td ><html:text name="clients.kpSh">  </html:text></td>
					<td class="td-input"><html:textfield dataType="string"   id="clients.kpSh" name="clients.kpSh"></html:textfield></td>
	<td colspan="2">&nbsp;</td>
</tr>

			<html:if test='extendCustomer!=null&&extendCustomer!=""'>
			<tr>
				<td colspan="4" class="td-input"><br></br>
				<b><html:text name="entity.customauto"></html:text></b>
				<hr style="width: 100%;"></hr>
				</td>
			</tr>
			<html:property value="extendCustomer" escape="false"/>
			</html:if>
			</table></td>
			<% 
				com.opensymphony.xwork2.util.ValueStack  obj=(com.opensymphony.xwork2.util.ValueStack)request.getAttribute("struts.valueStack");
				obj.setValue("clients", null); 
			%>
		</tr>
		
	</table>
	<script type="text/javascript" language="javascript">
		//var provCity = new ProvCity(); 
		//provCity.init('','');  
		function backFunction(){
			window.location="<%=WEBPATH%>/crm/clients/index.crm";
		}
	</script>
</html:form>
</body>
</html>